package cn.edu.scau.cmi.hekaimin.compositePattern.consistent;

import java.util.ArrayList;

public class Person extends OrganizationComponent {
    
	
	public Person(String name) {
		super(name);

	}

	@Override
	public String detail() {
		
		
		return name ;
	}

	@Override
	public void add(OrganizationComponent child) {
		
	}

	@Override
	public void remove(OrganizationComponent child) {
		
	}

	@Override
	public ArrayList<OrganizationComponent> getChildren() {
		return null;
	}
}
